package com.ncucoder.server.service;

import com.ncucoder.server.model.Goods;

/**
 *
 * @author <a href="https://www.ncucoder.com">hsowan</a>
 * @since 2019-01-19 18:21
 */
public interface GoodsService {

    /**
     *
     * @param goods
     * @return
     */
    int saveOrUpdate(Goods goods);

    /**
     *
     * @param id
     * @return
     */
    Goods getById(Long id);
}
